package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.fetch.OcaFetch;
import cn.topevery.garden.entity.po.OcaInfo;
import cn.topevery.garden.entity.query.OcaInfoQuery;
import cn.topevery.garden.entity.vo.OcaInfoVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 绿地占用信息表
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface OcaInfoDao extends BaseDao<OcaInfo> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<OcaInfoVO> listPage(OcaInfoQuery query);

    OcaInfo getEntityByColumn(String key,String value);

    DataPager<OcaInfo> getList(OcaFetch ocaFetch);

    OcaInfo getById(Integer id);

    void updateByIds(List<Integer> ids);
}
